package main;

import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Main {

    public static void main(String[] args)
    {
    	ClassPathXmlApplicationContext ac = new ClassPathXmlApplicationContext(new String[] {"springconfig.xml"});
    	
    	ApplicationContext aHelloWorld = (ApplicationContext) ac.getBean("ApplicationContext");
    	aHelloWorld.sayHello();
    	aHelloWorld.run();
    } 
    
}
